Automattic\WooCommerce\Admin\API\Reports\Controller S

Total Complexity 25
Dependencies 6
Dependents 1
Total lines 340
Lines of code 209
Logical lines of code 53
Comment lines 90
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
get_items()
A
36 6 93
get_order_number()
S
60 5 13
get_total_formatted()
S
63 4 10
prepare_item_for_response()
S
52 2 25
get_item_schema()
S
52 1 28
register_routes()
S
59 1 15
get_items_permissions_check()
S
69 2 6
get_order_status_labels()
S
66 2 8
get_collection_params()
S
73 1 5
get_order_statuses()
S
69 1 6